home *** CD-ROM | disk | FTP | other *** search
/ CD BIT 75 / CD BIT 75.iso / Software / ooo / f_0329 / scalc.jar / text / scalc / guide / cellreferences_url.xml < prev    next >
Encoding:
Extensible Markup Language  |  2003-08-01  |  9.0 KB  |  81 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>References to Other Sheets and Referencing URLs</title><meta name="filename" content="text/scalc/guide/cellreferences_url"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         p.P1{
  5.                 }
  6.         p.P2{
  7.                 }
  8.         p.P3{
  9.                 }
  10.         p.P4{
  11.                 }
  12.         span.T1{
  13.                 font-weight:bold;}
  14.         </style></head><body>
  15.   
  16.   
  17.   <p class="P1"/>
  18.   <p class="Head1"><help:paragraphinfo state="U" number="15" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="sheet references; to other sheets" tag="kw68074_1" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="HTML; in sheet cells" tag="kw68074_5" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="references; URL in cells" tag="kw68074_4" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="cells; Internet references" tag="kw68074_3" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="URL; in Calc" tag="kw68074_2" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="cellreferences_url" xmlns:help="http://openoffice.org/2000/help"><help:link Id="68074">References to Other Sheets and Referencing URLs</help:link></help:to-be-embedded></p>
  19.   <p class="Paragraph"><help:paragraphinfo state="U" number="16" xmlns:help="http://openoffice.org/2000/help"/>In a sheet cell you can show a reference to a cell in another sheet.</p>
  20.   <ol class="L1">
  21.    <li class="">
  22.     <p class="P2"><help:paragraphinfo state="U" number="31" xmlns:help="http://openoffice.org/2000/help"/>Open a new, empty spreadsheet.</p>
  23.    </li>
  24.    <li class="">
  25.     <p class="P2"><help:paragraphinfo state="U" number="32" xmlns:help="http://openoffice.org/2000/help"/>By way of example, enter the following formula in cell A1 of Sheet1:</p>
  26.     <p class="P2"><help:paragraphinfo state="U" number="17" xmlns:help="http://openoffice.org/2000/help"/>=Sheet2.A1</p>
  27.    </li>
  28.    <li class="">
  29.     <p class="P2"><help:paragraphinfo state="U" number="18" xmlns:help="http://openoffice.org/2000/help"/>Click the <span class="T1">Sheet 2</span> tab at the bottom of the spreadsheet. Set the cursor in cell A1 there and enter text or a number.</p>
  30.    </li>
  31.    <li class="">
  32.     <p class="P2"><help:paragraphinfo state="U" number="33" xmlns:help="http://openoffice.org/2000/help"/>If you switch back to Sheet1, you will see the same content in cell A1 there. If the contents of Sheet2.A1 change, then the contents of Sheet1.A1 also change.</p>
  33.    </li>
  34.   </ol>
  35.   <p class="Paragraph"><help:paragraphinfo state="U" number="19" xmlns:help="http://openoffice.org/2000/help"/>In the same way, a reference can also be made to a cell from another document. Open another spreadsheet in addition to the current spreadsheet. The current spreadsheet must have already been saved as a file.</p>
  36.   <ol class="L2">
  37.    <li class="">
  38.     <p class="P3"><help:paragraphinfo state="U" number="34" xmlns:help="http://openoffice.org/2000/help"/>If you have installed the samples you can, for example, by choosing <span class="T1">File - Open</span>, open the Movie1 document from the spreadsheet samples.</p>
  39.    </li>
  40.    <li class="">
  41.     <p class="P3"><help:paragraphinfo state="U" number="20" xmlns:help="http://openoffice.org/2000/help"/>Change back to the original spreadsheet. Set the cursor in a free cell and enter an equals sign to indicate that you want to begin a formula.</p>
  42.    </li>
  43.    <li class="">
  44.     <p class="P3"><help:paragraphinfo state="U" number="35" xmlns:help="http://openoffice.org/2000/help"/>Now switch to the document you have just loaded, Movie1. Click cell C3.</p>
  45.    </li>
  46.    <li class="">
  47.     <p class="P3"><help:paragraphinfo state="U" number="36" xmlns:help="http://openoffice.org/2000/help"/>Switch back to the original spreadsheet. In the calculation row you will now see how <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc has added the reference to the formula for you. If you have used the previous example, the following will now be located there:</p>
  48.     <p class="P3"><help:paragraphinfo state="U" number="21" xmlns:help="http://openoffice.org/2000/help"/>='file:///C:/{installpath}/share/samples/english/spreadsheets/Movie1.sdc'#$movievisits.C3</p>
  49.    </li>
  50.    <li class="">
  51.     <p class="P3"><help:paragraphinfo state="U" number="22" xmlns:help="http://openoffice.org/2000/help"/>Confirm the formula by clicking the green check mark.</p>
  52.     <p class="P3"><help:paragraphinfo state="U" number="37" xmlns:help="http://openoffice.org/2000/help"/>The reference to a cell of another document contains the name of the other document in single inverted commas, then a hash #, then the name of the sheet of the other document, followed by a point and the name of the cell. The name of the sheet automatically receives a leading dollar sign, since the sheet has absolute addressing.</p>
  53.    </li>
  54.   </ol>
  55.   <p class="Paragraph"><help:paragraphinfo state="U" number="23" xmlns:help="http://openoffice.org/2000/help"/>If you examine the name of the other document in this formula, you will notice that it is written as a <help:popup Id="65629" Eid="url" xmlns:help="http://openoffice.org/2000/help">URL</help:popup>. This means that you can also enter a URL from the Internet. For example, if you found an Internet page containing current stock exchange information in spreadsheet cells, you can load this page in <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc by using the following procedure:</p>
  56.   <ol class="L3">
  57.    <li class="">
  58.     <p class="P4"><help:paragraphinfo state="U" number="39" xmlns:help="http://openoffice.org/2000/help"/>In a <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc document, position the cursor in the cell into which you want to insert the external data.</p>
  59.    </li>
  60.    <li class="">
  61.     <p class="P4"><help:paragraphinfo state="U" number="40" xmlns:help="http://openoffice.org/2000/help"/>Choose <span class="T1">Insert - External Data</span>. The <help:link Id="68306" xmlns:help="http://openoffice.org/2000/help"><span class="T1">External Data</span></help:link> dialog appears.</p>
  62.    </li>
  63.    <li class="">
  64.     <p class="P4"><help:paragraphinfo state="U" number="41" xmlns:help="http://openoffice.org/2000/help"/>Enter the URL of the document or Web page in the dialog. The URL must be in the format: http://www.my-bank.com/table.html. The URL for local or local area network files is the path seen in the <span class="T1">File - Open</span> dialog.</p>
  65.     <p class="P4"><help:paragraphinfo state="U" number="42" xmlns:help="http://openoffice.org/2000/help"/><help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> loads the Web page or file in the "background", that is, without displaying it. In the large list box of the <span class="T1">External Data</span> dialog, you can see the name of all the sheets or named ranges you can choose from.</p>
  66.    </li>
  67.    <li class="">
  68.     <p class="P4"><help:paragraphinfo state="U" number="43" xmlns:help="http://openoffice.org/2000/help"/>Select one or more sheets or named ranges. You can also activate the automatic update function every "n" minutes and click OK.</p>
  69.     <p class="P4"><help:paragraphinfo state="U" number="44" xmlns:help="http://openoffice.org/2000/help"/>The contents will be inserted as a link in the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc document.</p>
  70.    </li>
  71.    <li class="">
  72.     <p class="P4"><help:paragraphinfo state="U" number="30" xmlns:help="http://openoffice.org/2000/help"/>Save your spreadsheet. When you open it again later, <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc will update the linked cells following an inquiry.</p>
  73.    </li>
  74.    <li class="">
  75.     <p class="P4"><help:paragraphinfo state="U" number="38" xmlns:help="http://openoffice.org/2000/help"/>Under <help:link Id="66279" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Tools - Options - Spreadsheet - General</span></help:link> you can choose to have the update, when opened, automatically carried out either always, upon request or never. The update can be started manually in the dialog under <span class="T1">Edit - Links</span>.</p>
  76.    </li>
  77.   </ol>
  78.   <p class="ParaList"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="65598" Eid="related" xmlns:help="http://openoffice.org/2000/help"/></p>
  79.   <p class="ParaList"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="68398" Eid="webquery" xmlns:help="http://openoffice.org/2000/help"/></p>
  80.   <p class="ParaList"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="68075" Eid="cellreferences" xmlns:help="http://openoffice.org/2000/help"/></p>
  81.  </body></html>